
#ifndef QQMSGDLG_H
#define QQMSGDLG_H

#pragma once
/////////////////////////////////////////////////////////////////////////////
// CQQMsgDlg dialog
#include "..\UI\DialogST.h"
class CQQMsgDlg : public CDialogST
{
// Construction
public:
	CQQMsgDlg(CWnd* pParent = NULL);   // standard constructor
	CQQMsgDlg(const char *lpMsg, CWnd* pParent = NULL); 	
// Dialog Data
	//{{AFX_DATA(CQQMsgDlg)
	enum { IDD = IDD_QQMSG };
	//}}AFX_DATA
    int On_Fade;
    char* pBuf;

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CQQMsgDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void OnCancel();
	virtual void OnOK();
	afx_msg void OnClose();
	afx_msg void OnDestroy();
	//}}AFX_VIRTUAL
private:
    //CBitmap m_Bitmap;
	//BITMAP bmBitmap;
	BOOL m_bFlag;
    const char *lpMessage;
public:
	LPTSTR m_strCaption;
	CString m_strMessage;
	void SetPromptMessage(LPCTSTR lpszMsg);
	void SetPromptCaption(LPCTSTR lpszCaption);
// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CQQMsgDlg)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	virtual BOOL OnInitDialog();
	afx_msg void EMReadyEditState(WPARAM wParam, LPARAM lParam);
	afx_msg void OnKillFocus(CWnd* pNewWnd);
	afx_msg void OnSetFocus(CWnd* pNewWnd);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnPaint();
	afx_msg void OnTimer(UINT nIDEvent);
    afx_msg void OnActivate(UINT nState, CWnd* pWndOther, BOOL bMinimized); 
    afx_msg   LRESULT   OnMouseLeave(WPARAM   wParam,LPARAM   lParam); 
    afx_msg   LRESULT   OnMouseHover(WPARAM   wParam,LPARAM   lParam);  
	afx_msg void OnCloseFade(WPARAM wParam, LPARAM lParam);
	afx_msg void SetMessage(WPARAM wParam, LPARAM lParam);
	afx_msg void OnPostMessage(WPARAM wParam, LPARAM lParam);
	afx_msg void OnBtnMore();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
protected:
	CButtonST m_btnok;
	CButtonST m_btnmore;
};

#endif // QQMSGDLG_H
